package com.zhw.activiti.constant;

import lombok.Getter;

/**
 * @author zhw
 */
@Getter
public enum ResultEnum {

    SUCCESS(200, "success"),

    SYSTEM_ERROR(1000, "system error"),
    ;

    private Integer code;

    private String msg;

    ResultEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

}
